// 按需导出
export const food = '盐焗西兰花'

function cookFood () {
  console.log('砰')
}

const foods = ['西兰花炒蛋', '辣子🐔', '啤酒🦆', '红烧🐟']

// 按需导出
export { cookFood, foods }

// 可以和 默认导出一起用
const soup = '紫菜蛋汤'
export default soup
